﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using VisualAgile.Model;

namespace VisualAgile.Web.Tests
{
    class FakeLabelData
    {
        public static List<Label> CreateDemoLabels()
        {
            List<Label> label = new List<Label>();

            for (int i = 0; i < 14; i++)
            {
                Label sampleLabel = new Label()
                {
                   LabelID = Guid.NewGuid(),
                   IterationID = "29DC7A46-52B5-4941-AAE2-F48592847E42",                   
                   Date = DateTime.Now.AddDays(i).ToShortDateString(),                   
                   CreateTime = DateTime.Now                   
                };
                
                label.Add(sampleLabel);
            }

            return label;
        }

        public static List<Label> CreateDefaultLabels()
        {
            int start = 14;
            List<Label> label = new List<Label>();

            for (int i = 0; i < 14; i++)
            {
                Label sampleLabel = new Label()
                {
                    LabelID = Guid.NewGuid(),
                    IterationID = "BE4B0656-8685-439e-B4EA-66D5C9BA7508",
                    Date = DateTime.Now.AddDays(start + i).ToShortDateString(),
                    CreateTime = DateTime.Now
                };

                label.Add(sampleLabel);

                start++;
            }

            return label;
        }        
    }
}
